package com.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.sql.Timestamp;

@Data
public class Registered {

  private Long id;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Timestamp registeredTime;
  private BigDecimal registeredFees;
  private Long registeredTypeId;
  private String stateType;
  private Long doctorShiftsId;
  private String doctorName;
  private Long patientId;
  private PatientBank patientBank;



}
